package com.example.constant;

/**
 * @Describe : redis key
 * @Author : zyx
 * @Date : 2024/2/26 15:39
 * @Version : 1.0
 **/
public class RedisConstant {

    /**
     * 响应sequenceId缓存时间 5天
     */
    public static final String CACHE_TTL = "432000";

    /**
     * 状态报告映射关系缓存时间 5天
     */
    public static final Long REPORT_CACHE_TTL = 432000L;

    /**
     * 短信条目数
     */
    public static final String SMS_TOTAL = "pkTotal";

    /**
     * 短信sequenceId
     */
    public static final String SMS_SEQUENCE = "sequence";

    /**
     * 短信流水号
     */
    public static final String SMS_SENDID = "sendId";

    /**
     * 短信发送响应key
     */
    public static final String SMS_RESPONSE_KEY = "selfResponse:%s";

    /**
     * 短信发送callbackKey
     */
    public static final String SMS_CALLBACK_KEY = "selfCallback:%s:%s";

    /**
     * 短信状态报告信息key
     */
    public static final String SMS_CALLBACK_REPORT_KEY = "callbackReport:%s";

}
